home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2004 May
/
PCWorld_2004-05_cd.bin
/
software
/
temacd
/
winamp
/
winamp503_snowpatrol.exe
/
$R0
/
Winamp Modern
/
videoavs.maki
(
.txt
)
< prev
next >
Wrap
Winamp Compiled Maki Script
|
2004-03-07
|
27KB
|
1,707 lines
/* Note: a decompiler is no invitation to steal code.
Please respect the the copyright */
#include "std.mi"
Global ConfigAttribute ConfigAttribute17;
Global ConfigAttribute ConfigAttribute18;
Global ConfigAttribute ConfigAttribute19;
Global ConfigAttribute ConfigAttribute20;
Global ConfigAttribute ConfigAttribute21;
Global Int Int22;
Global Timer Timer23;
Global Int Int24;
Global Int Int25;
Global Int Int26;
Global Int Int27;
Global Timer Timer28;
Global Int Int29;
Global Timer Timer30;
Global Int Int31;
Global Int Int32;
Global Int Int33;
Global Int Int34;
Global Int Int35;
Global Int Int36;
Global Int Int37;
Global Int Int38;
Global Timer Timer39;
Global Layout Layout40;
Global Container Container41;
Global String String42;
Global Int Int43;
Global Int Int44;
Global Int Int45;
Global Int Int46;
Global Int Int47;
Global Int Int48;
Global Int Int49;
Global ConfigAttribute ConfigAttribute171;
Global ConfigAttribute ConfigAttribute172;
Global ConfigAttribute ConfigAttribute173;
Global ConfigAttribute ConfigAttribute174;
Global ConfigAttribute ConfigAttribute175;
Global ConfigAttribute ConfigAttribute176;
Global ConfigAttribute ConfigAttribute177;
Global ConfigAttribute ConfigAttribute178;
Global ConfigAttribute ConfigAttribute179;
Global ConfigAttribute ConfigAttribute180;
Global ConfigAttribute ConfigAttribute181;
Global ConfigAttribute ConfigAttribute182;
Global ConfigAttribute ConfigAttribute183;
Global ConfigAttribute ConfigAttribute184;
Global ConfigAttribute ConfigAttribute185;
Global ConfigAttribute ConfigAttribute186;
Global ConfigAttribute ConfigAttribute187;
Global ConfigAttribute ConfigAttribute188;
Global ConfigAttribute ConfigAttribute189;
Global ConfigAttribute ConfigAttribute190;
Global ConfigAttribute ConfigAttribute191;
Global ConfigAttribute ConfigAttribute192;
Global ConfigAttribute ConfigAttribute193;
Global ConfigAttribute ConfigAttribute194;
Global ConfigAttribute ConfigAttribute195;
Global ConfigAttribute ConfigAttribute196;
Global ConfigAttribute ConfigAttribute197;
Global Int Int268;
Global Layout Layout269;
Global Layout Layout270;
Global Container Container271;
Global Group Group272;
Global Group Group273;
Global Group Group274;
Global Group Group275;
Global Group Group276;
Global Group Group277;
Global Group Group278;
Global Button Button279;
Global Button Button280;
Global Button Button281;
Global Button Button282;
Global Button Button283;
Global Button Button284;
Global Button Button285;
Global Button Button286;
Global Layer Layer287;
Global Layer Layer288;
Global Layer Layer289;
Global GuiObject GuiObject290;
Global Int Int291;
Global Int Int293;
Function func242(Layout 0, String "0");
Function func780();
Function func814();
Function func1685(Int 0);
Function func2370(Int 0);
Function func2978();
Function func3437();
Function func4631();
Function func4846();
Function func5007();
Function func5222();
Function func5601();
Function func5643();
Function func5769();
Function func5897();
Function func5993();
Function func6043();
Function func6093();
Function func6594();
Function func6690();
Function func6826();
Function func6883();
Function func7288();
Function func7473();
Function func7773();
Function func7968();
Function func8241();
Function func8271();
Function func8301();
Function func8356();
Function func8417();
Function func8540();
Function func9102();
Function func9323(Int 0);
Function func9570();
Function func9749();
Function func9755();
Function func9767();
Function func13979();
Function func13991();
Function func14003();
Function func14044();
Function func14085();
Function func14091();
Function func14109();
Function func14205();
Function func14289();
Function func14389();
Function func14431();
Function func14531();
Function func14573();
Function func14625();
Function func14655();
Function func14707();
Function func14737();
Function func14767();
Function func14797();
Function func15079();
Function func15409();
func242(Layout 0, String "0")
{
Int32 = 0;
Layout40 = Layout50;
Container41 = Layout40.getContainer();
if(( String51 == ( ""))) {
String42 = ( "Drawer");
} else {
String42 = String51;
}
Int22 = 0;
func4846();
func5222();
Timer23 = ( new Timer);
Timer23.setDelay(1);
Timer28 = ( new Timer);
Timer28.setDelay(1);
Timer30 = ( new Timer);
Timer30.setDelay(1000);
Timer39 = ( new Timer);
Timer39.setDelay(50);
Int45 = System.getPrivateInt(( "winamp5"), ( String42 + ( "Maximized")), 0);
if(Int45) {
func14767();
func9749();
}
Int46 = System.getPrivateInt(( "winamp5"), ( String42 + ( "ox")), 0);
Int47 = System.getPrivateInt(( "winamp5"), ( String42 + ( "oy")), 0);
Int48 = System.getPrivateInt(( "winamp5"), ( String42 + ( "ow")), 0);
Int49 = System.getPrivateInt(( "winamp5"), ( String42 + ( "oh")), 0);
Int38 = System.getPrivateInt(( "winamp5"), ( String42 + ( "ForcedTop")), 0);
Int37 = System.getPrivateInt(( "winamp5"), ( String42 + ( "ForcedBottom")), 0);
return Null;
}
func780()
{
delete Timer23;
delete Timer28;
delete Timer30;
delete Timer39;
return Null;
}
func814()
{
Int Int73;
Int Int71;
Int Int74;
Int Int63;
Int Int70;
Int Int75;
Int Int72;
Int Int67;
Int Int69;
Int63 = 0;
if(( ConfigAttribute17.getData() == ( "1"))) {
Int63 = 1;
}
if(( ConfigAttribute19.getData() == ( "0"))) {
return Int63;
}
Int67 = System.getPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0);
if(( Int67 != 0)) {
return Int38;
}
Int69 = System.getPrivateInt(( "winamp5"), ( String42 + ( "Height")), func13991());
if(( Int69 == func13979())) {
Int69 = func13991();
}
if(Int45) {
Int69 = ( System.getViewportHeight() + Layout40.getSnapAdjustBottom());
}
Int37 = 0;
Int38 = 0;
if(Int63) {
Int70 = Layout40.getGuiY();
Int71 = Layout40.clientToScreenH(Layout40.getGuiH());
if(( ( Int70 + Int71) > ( Layout40.clientToScreenH(Int69) + System.getViewportTop()))) {
Int72 = Layout40.getSnapAdjustBottom();
if(( ! ( ( Int70 + Layout40.clientToScreenH(( Int69 - Int72))) < ( System.getViewportTop() + System.getViewportHeight())))) {
Int37 = 1;
return 0;
}
}
} else {
Int73 = Layout40.getSnapAdjustBottom();
Int74 = Layout40.getGuiY();
if(( ( Int74 + Layout40.clientToScreenH(( Int69 - Int73))) < ( System.getViewportTop() + System.getViewportHeight()))) {
Int75 = Layout40.clientToScreenH(Layout40.getGuiH());
if(( ! ( ( Int74 + Int75) > ( Layout40.clientToScreenH(Int69) + System.getViewportTop())))) {
Int38 = 1;
return 1;
}
}
}
return Int63;
}
Layout40.onTargetReached()
{
System.unlockUI();
if(( ConfigAttribute17.getData() == ( "1"))) {
Layout40.reverseTarget(0);
}
if(( Int22 == 1)) {
System.setPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 1);
func5769();
func14085();
} else {
if(( Int22 == 2)) {
System.setPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0);
func14091();
}
}
Int22 = 0;
return Null;
}
func1685(Int 0)
{
Int Int80;
Int Int79;
Int Int82;
Int Int77;
Int Int81;
Int77 = System.getPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0);
System.debugString(( ( "expand\ \-\ curstate\ \=\ ") + System.integerToString(Int77)), 0);
if(( Int77 == 1)) {
func5769();
func14109();
func14085();
return Null;
}
Int79 = func814();
System.setPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 1);
Int80 = System.getPrivateInt(( "winamp5"), ( String42 + ( "Height")), func13991());
if(( Int80 == func13979())) {
Int80 = func13991();
}
if(Int45) {
Int80 = ( System.getViewportHeight() + Layout40.getSnapAdjustBottom());
}
Int81 = Layout40.getGuiW();
if(( Int80 == Layout40.getHeight())) {
Int76 = 0;
}
func14109();
Int82 = 0;
if(( ! Layout40.isLayoutAnimationSafe())) {
Int76 = 0;
}
if(( Int76 && System.StringToInteger(ConfigAttribute18.getData()))) {
Int82 = 1;
}
Int22 = 1;
Layout40.setTargetX(Layout40.getGuiX());
Layout40.setTargetY(Layout40.getGuiY());
Layout40.setTargetW(Int81);
Layout40.setTargetH(Int80);
Layout40.reverseTarget(Int79);
Layout40.setTargetSpeed(Int82);
Layout40.gotoTarget();
System.lockUI();
if(( ! Int45)) {
System.setPrivateInt(( "winamp5"), ( String42 + ( "Height")), Int80);
}
System.setPrivateInt(( "winamp5"), ( String42 + ( "ForcedBottom")), Int37);
System.setPrivateInt(( "winamp5"), ( String42 + ( "ForcedTop")), Int38);
return Null;
}
func2370(Int 0)
{
Int Int87;
Int Int85;
Int Int86;
System.debugString(( "reduce"), 0);
func4846();
func5222();
System.setPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0);
if(( ( Int22 == 0) && ( ! Int45))) {
Int85 = Layout40.getHeight();
System.setPrivateInt(( "winamp5"), ( String42 + ( "Height")), Int85);
}
func5897();
func14205();
Int86 = 0;
if(( ConfigAttribute17.getData() == ( "1"))) {
Int86 = 1;
}
Int87 = 0;
if(( ! Layout40.isLayoutAnimationSafe())) {
Int83 = 0;
}
if(( Int83 && System.StringToInteger(ConfigAttribute18.getData()))) {
Int87 = 1;
}
if(( ConfigAttribute19.getData() == ( "1"))) {
if(Int38) {
Int86 = 1;
}
if(Int37) {
Int86 = 0;
}
}
Int22 = 2;
Layout40.setTargetX(Layout40.getGuiX());
Layout40.setTargetY(Layout40.getGuiY());
Layout40.setTargetW(Layout40.getGuiW());
Layout40.setTargetH(func13979());
Layout40.reverseTarget(Int86);
Layout40.setTargetSpeed(Int87);
Layout40.gotoTarget();
System.lockUI();
Int38 = 0;
Int37 = 0;
System.setPrivateInt(( "winamp5"), ( String42 + ( "ForcedBottom")), 0);
System.setPrivateInt(( "winamp5"), ( String42 + ( "ForcedTop")), 0);
return Null;
}
func2978()
{
Int Int88;
Int Int90;
if(Timer39.isRunning()) {
return Null;
}
Timer39.start();
Int88 = System.getStatus();
if(( ( Int88 == 1) || ( Int88 == ( - 1)))) {
if(( ! System.isVideo())) {
if(( ConfigAttribute20.getData() == ( "0"))) {
func6043();
} else {
if(( ConfigAttribute21.getData() == ( "0"))) {
func5993();
} else {
func6093();
}
}
} else {
if(( ConfigAttribute21.getData() == ( "0"))) {
func5993();
} else {
if(( ConfigAttribute20.getData() == ( "0"))) {
func6043();
} else {
func6093();
}
}
}
} else {
Int90 = System.getPrivateInt(( "winamp5"), ( String42 + ( "State")), 2);
if(( ( Int90 == 2) && ( ConfigAttribute20.getData() == ( "0")))) {
func6043();
} else {
if(( ( Int90 == 1) && ( ConfigAttribute21.getData() == ( "0")))) {
func5993();
} else {
if(( ConfigAttribute20.getData() == ( "0"))) {
func6043();
} else {
if(( ConfigAttribute21.getData() == ( "0"))) {
func5993();
} else {
func6093();
}
}
}
}
}
return Null;
}
func3437()
{
func2370(1);
return Null;
}
Boolean System.onGetCancelComponent(String guid, boolean goingvisible)
{
Int Int103;
Int Int104;
System.debugString(( "\+"), 0);
if(Int31) {
return 0;
}
if(( ( ( guid == ( "\{F0816D7B\-FFFC\-4343\-80F2\-E8199AA15CC3\}")) && ( ! goingvisible)) && Int33)) {
return 0;
}
if(( ( ( guid == ( "\{0000000A\-000C\-0010\-FF7B\-01014263450C\}")) && ( ! goingvisible)) && Int34)) {
return 0;
}
if(( ( ( guid == ( "\{F0816D7B\-FFFC\-4343\-80F2\-E8199AA15CC3\}")) && goingvisible) && Int36)) {
return 0;
}
if(( ( ( guid == ( "\{0000000A\-000C\-0010\-FF7B\-01014263450C\}")) && goingvisible) && Int35)) {
return 0;
}
System.debugString(( "\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\ onGetCancelComponent\ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-"), 0);
System.debugString(( ( "\ GUID\ \:\ ") + guid), 0);
if(goingvisible) {
System.debugString(( "\ Going\ Visible"), 0);
} else {
System.debugString(( "\ Going\ Invisible"), 0);
}
System.debugString(( ( "\ Last\ Content\ \:\ ") + System.integerToString(System.getPrivateInt(( "winamp5"), ( String42 + ( "State")), 2))), 0);
System.debugString(( ( "\ Drawer\ State\ \:\ ") + System.integerToString(System.getPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0))), 0);
System.debugString(( "\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-"), 0);
if(( ! Layout40.isVisible())) {
return 0;
}
Int103 = System.getPrivateInt(( "winamp5"), ( String42 + ( "State")), 2);
Int104 = System.getPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0);
if(( Int104 == 0)) {
if(( guid == ( "\{F0816D7B\-FFFC\-4343\-80F2\-E8199AA15CC3\}"))) {
if(( ConfigAttribute21.getData() == ( "0"))) {
if(goingvisible) {
func5993();
return ( - 1);
}
}
}
if(( guid == ( "\{0000000A\-000C\-0010\-FF7B\-01014263450C\}"))) {
if(( ConfigAttribute20.getData() == ( "0"))) {
if(goingvisible) {
func6043();
return ( - 1);
}
}
}
} else {
if(( Int104 == 1)) {
if(goingvisible) {
if(( ( guid == ( "\{F0816D7B\-FFFC\-4343\-80F2\-E8199AA15CC3\}")) && ( Int103 == 2))) {
if(( ConfigAttribute21.getData() == ( "0"))) {
Int103 = 1;
func4846();
func5601();
return ( - 1);
}
} else {
if(( ( guid == ( "\{0000000A\-000C\-0010\-FF7B\-01014263450C\}")) && ( Int103 == 1))) {
if(( ConfigAttribute20.getData() == ( "0"))) {
Int103 = 2;
func8417();
func5222();
func5643();
return ( - 1);
}
}
}
}
}
}
if(( ( ! goingvisible) && ( Int104 == 1))) {
System.debugString(( ( "closing\ ") + guid), 0);
if(( ( guid == ( "\{F0816D7B\-FFFC\-4343\-80F2\-E8199AA15CC3\}")) && ( Int103 == 1))) {
func5222();
func2370(1);
return 0;
}
if(( ( guid == ( "\{0000000A\-000C\-0010\-FF7B\-01014263450C\}")) && ( Int103 == 2))) {
func4846();
if(( ( ( ( System.getStatus() == 1) || ( System.getStatus() == ( - 1))) && System.isVideo()) && ( ConfigAttribute21.getData() == ( "0")))) {
func5601();
} else {
func2370(1);
}
return 0;
}
}
System.debugString(( "Went\ thru"), 0);
return 0;
}
func4631()
{
GuiObject GuiObject108;
System.debugString(( "drawer_showVis"), 0);
Int35 = 1;
System.setPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 1);
System.setPrivateInt(( "winamp5"), ( String42 + ( "State")), 2);
GuiObject108 = func14003();
if(( GuiObject108 != Null)) {
Int31 = 1;
GuiObject108.show();
Int31 = 0;
} else {
System.debugString(( "vis\ object\ not\ provided\ \(show\)"), 0);
}
func14289();
Int35 = 0;
return Null;
}
func4846()
{
GuiObject GuiObject111;
Int24 = 0;
System.debugString(( "drawer_hideVis"), 0);
Int34 = 1;
GuiObject111 = func14003();
if(( GuiObject111 != Null)) {
Int31 = 1;
GuiObject111.hide();
Int31 = 0;
} else {
System.debugString(( "video\ object\ not\ found\ \(hide\)"), 0);
}
func14389();
Int34 = 0;
return Null;
}
func5007()
{
GuiObject GuiObject114;
System.debugString(( "drawer_showVideo"), 0);
Int36 = 1;
System.setPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 1);
System.setPrivateInt(( "winamp5"), ( String42 + ( "State")), 1);
GuiObject114 = func14044();
if(( GuiObject114 != Null)) {
Int31 = 1;
GuiObject114.show();
Int31 = 0;
} else {
System.debugString(( "vis\ object\ not\ found\ \(show\)"), 0);
}
func14431();
Int36 = 0;
return Null;
}
func5222()
{
GuiObject GuiObject117;
Int25 = 0;
System.debugString(( "drawer_hideVideo"), 0);
Int33 = 1;
GuiObject117 = func14044();
if(( GuiObject117 != Null)) {
Int31 = 1;
GuiObject117.hide();
Int31 = 0;
} else {
System.debugString(( "video\ object\ not\ found\ \(hide\)"), 0);
}
func14531();
Int33 = 0;
return Null;
}
Timer23.onTimer()
{
Int Int120;
Int Int119;
Int Int118;
Int Int121;
Timer23.stop();
Int118 = Int25;
Int119 = Int24;
Int120 = Int27;
Int121 = Int26;
Int25 = 0;
Int24 = 0;
Int27 = 0;
Int26 = 0;
if(( Int118 == 1)) {
func5007();
}
if(( Int119 == 1)) {
func4631();
}
if(( Int121 == 1)) {
func4846();
}
if(( Int120 == 1)) {
func5222();
}
return Null;
}
func5601()
{
Int25 = 1;
Int27 = 0;
Timer23.start();
return Null;
}
func5643()
{
Int24 = 1;
Int26 = 0;
Timer23.start();
return Null;
}
func5769()
{
Int Int122;
Int122 = System.getPrivateInt(( "winamp5"), ( String42 + ( "State")), 2);
System.debugString(( ( "drawer_showWindowContent\ \=\ ") + System.integerToString(Int122)), 0);
if(( Int122 == 1)) {
func5601();
}
if(( Int122 == 2)) {
unknown 255;
pop;
}
return Null;
}
func5897()
{
Int Int124;
Int124 = System.getPrivateInt(( "winamp5"), ( String42 + ( "State")), 2);
System.debugString(( ( "drawer_hideWindowContent\ \=\ ") + System.integerToString(Int124)), 0);
func5222();
func4846();
return Null;
}
func5993()
{
System.setPrivateInt(( "winamp5"), ( String42 + ( "State")), 1);
func1685(1);
return Null;
}
func6043()
{
System.setPrivateInt(( "winamp5"), ( String42 + ( "State")), 2);
func1685(1);
return Null;
}
func6093()
{
System.setPrivateInt(( "winamp5"), ( String42 + ( "State")), 0);
func1685(1);
return Null;
}
Layout40.onResize(int x, int y, int w, int h)
{
if(( ( ! Layout40.isGoingToTarget()) && ( ! Int32))) {
Int32 = 1;
if(( h < func13979())) {
System.setPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 1);
func1685(0);
} else {
System.setPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0);
}
}
return Null;
}
Layout40.onUserResize(int x, int y, int w, int h)
{
Int Int134;
Int Int135;
Int134 = System.getPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0);
if(( Int134 == 1)) {
Int135 = Layout40.getHeight();
if(( Int135 != func13979())) {
System.debugString(( ( "h\ \=\ ") + System.integerToString(Int135)), 0);
if(( ! Int45)) {
System.setPrivateInt(( "winamp5"), ( String42 + ( "Height")), Int135);
}
}
}
if(Int45) {
Int45 = 0;
System.setPrivateInt(( "winamp5"), ( String42 + ( "Maximized")), 0);
func14797();
}
return Null;
}
func6594()
{
if(Timer23.isRunning()) {
return Null;
}
if(Timer28.isRunning()) {
return Null;
}
if(Timer39.isRunning()) {
return Null;
}
Timer39.start();
func4846();
func5007();
return Null;
}
func6690()
{
if(Timer23.isRunning()) {
return Null;
}
if(Timer28.isRunning()) {
return Null;
}
if(Timer39.isRunning()) {
return Null;
}
Timer39.start();
func8417();
func5222();
func4631();
return Null;
}
Timer39.onTimer()
{
Timer39.stop();
return Null;
}
func6826()
{
if(Timer39.isRunning()) {
return Null;
}
Timer39.start();
ConfigAttribute20.setData(( "1"));
return Null;
}
func6883()
{
if(Timer39.isRunning()) {
return Null;
}
Timer39.start();
ConfigAttribute21.setData(( "1"));
return Null;
if(Timer39.isRunning()) {
return Null;
}
Timer39.start();
ConfigAttribute20.setData(( "0"));
return Null;
if(Timer39.isRunning()) {
return Null;
}
Timer39.start();
ConfigAttribute21.setData(( "0"));
return Null;
}
ConfigAttribute21.onDataChanged()
{
System.debugString(( "detach\ video\ changed"), 0);
if(( ConfigAttribute21.getData() == ( "1"))) {
func7288();
func14573();
} else {
if(( ConfigAttribute21.getData() == ( "0"))) {
func7773();
func14625();
}
}
return Null;
}
ConfigAttribute20.onDataChanged()
{
System.debugString(( "detach\ vis\ changed"), 0);
if(( ConfigAttribute20.getData() == ( "1"))) {
func7473();
func14655();
} else {
if(( ConfigAttribute20.getData() == ( "0"))) {
func7968();
func14707();
}
}
return Null;
}
func7288()
{
Int Int140;
Int Int139;
Int Int141;
Int139 = System.isNamedWindowVisible(( "\{F0816D7B\-FFFC\-4343\-80F2\-E8199AA15CC3\}"));
Int140 = System.getPrivateInt(( "winamp5"), ( String42 + ( "State")), 2);
Int141 = System.getPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0);
if(( ! Int139)) {
return Null;
}
if(( Int140 != 1)) {
return Null;
}
if(( Int141 == 1)) {
func8417();
func2370(1);
}
func8271();
return Null;
}
func7473()
{
Int Int142;
Int Int144;
Int Int143;
Int142 = System.getPrivateInt(( "winamp5"), ( String42 + ( "State")), 2);
Int143 = System.getPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0);
if(( Int142 != 2)) {
return Null;
}
Int144 = System.isNamedWindowVisible(( "\{0000000A\-000C\-0010\-FF7B\-01014263450C\}"));
if(( ! Int144)) {
return Null;
}
if(( Int143 == 1)) {
func4846();
if(( ( ( ( System.getStatus() == 1) || ( System.getStatus() == ( - 1))) && System.isVideo()) && ( ConfigAttribute21.getData() == ( "0")))) {
System.setPrivateInt(( "winamp5"), ( String42 + ( "State")), 1);
func5601();
} else {
func2370(1);
}
}
func8241();
return Null;
}
func7773()
{
Int Int147;
Int Int145;
Int Int146;
func8417();
Int145 = System.isNamedWindowVisible(( "\{F0816D7B\-FFFC\-4343\-80F2\-E8199AA15CC3\}"));
if(Int145) {
System.hideNamedWindow(( "\{F0816D7B\-FFFC\-4343\-80F2\-E8199AA15CC3\}"));
Int146 = System.getPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0);
Int147 = System.getPrivateInt(( "winamp5"), ( String42 + ( "State")), 2);
if(( Int147 == 2)) {
func4846();
}
if(( Int146 == 0)) {
func5993();
} else {
func5601();
}
}
return Null;
}
func7968()
{
Int Int150;
Int Int149;
Int Int148;
func8417();
Int148 = System.isNamedWindowVisible(( "\{0000000A\-000C\-0010\-FF7B\-01014263450C\}"));
if(Int148) {
System.hideNamedWindow(( "\{0000000A\-000C\-0010\-FF7B\-01014263450C\}"));
Int149 = System.getPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0);
Int150 = System.getPrivateInt(( "winamp5"), ( String42 + ( "State")), 2);
if(( Int150 == 1)) {
func5222();
}
if(( Int149 == 0)) {
func6043();
} else {
func5643();
}
}
return Null;
}
Timer28.onTimer()
{
Timer28.stop();
if(( Int29 == 2)) {
func8356();
}
if(( Int29 == 1)) {
func8301();
}
return Null;
}
func8241()
{
Int29 = 1;
Timer28.start();
return Null;
}
func8271()
{
Int29 = 2;
Timer28.start();
return Null;
}
func8301()
{
System.debugString(( "show\ detached\ vis"), 0);
System.showWindow(( "\{0000000A\-000C\-0010\-FF7B\-01014263450C\}"), ( ""), 0);
return Null;
}
func8356()
{
System.debugString(( "show\ detached\ video"), 0);
System.showWindow(( "\{F0816D7B\-FFFC\-4343\-80F2\-E8199AA15CC3\}"), ( ""), 0);
func8540();
return Null;
}
func8417()
{
ConfigItem ConfigItem155;
ConfigAttribute ConfigAttribute157;
System.debugString(( "disabling\ stop\ on\ video\ close"), 0);
ConfigItem155 = Config.getItem(( "\{0542AFA4\-48D9\-4c9f\-8900\-5739D52C114F\}"));
if(ConfigItem155) {
ConfigAttribute157 = ConfigItem155.getAttribute(( "Prevent\ video\ playback\ Stop\ on\ video\ window\ Close"));
if(ConfigAttribute157) {
ConfigAttribute157.setData(( "1"));
}
}
Timer30.start();
return Null;
}
func8540()
{
ConfigItem ConfigItem159;
ConfigAttribute ConfigAttribute160;
System.debugString(( "enabling\ stop\ on\ video\ close"), 0);
Timer30.stop();
ConfigItem159 = Config.getItem(( "\{0542AFA4\-48D9\-4c9f\-8900\-5739D52C114F\}"));
if(ConfigItem159) {
ConfigAttribute160 = ConfigItem159.getAttribute(( "Prevent\ video\ playback\ Stop\ on\ video\ window\ Close"));
if(ConfigAttribute160) {
ConfigAttribute160.setData(( "0"));
}
}
return Null;
}
Timer30.onTimer()
{
func8540();
return Null;
}
Container41.onBeforeSwitchToLayout(Layout oldlayout, Layout newlayout)
{
Int Int164;
Int Int163;
Int163 = System.getPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0);
Int164 = System.getPrivateInt(( "winamp5"), ( String42 + ( "State")), 2);
if(( ( ( ( ( oldlayout == Layout40) && ( Int163 == 1)) && ( Int164 == 1)) && ( System.getStatus() == 1)) && System.isVideo())) {
func8417();
Int43 = 1;
}
if(( ( ( oldlayout == Layout40) && ( Int163 == 1)) && ( Int164 == 2))) {
Int44 = 1;
}
return Null;
}
Container41.onSwitchToLayout(Layout newlayout)
{
if(Int43) {
Int43 = 0;
func8356();
}
if(Int44) {
Int44 = 0;
func8301();
}
return Null;
}
func9102()
{
Int46 = Layout40.getGuiX();
Int47 = Layout40.getGuiY();
Int48 = Layout40.getGuiW();
Int49 = Layout40.getGuiH();
System.setPrivateInt(( "winamp5"), ( String42 + ( "ox")), Int46);
System.setPrivateInt(( "winamp5"), ( String42 + ( "oy")), Int47);
System.setPrivateInt(( "winamp5"), ( String42 + ( "ow")), Int48);
System.setPrivateInt(( "winamp5"), ( String42 + ( "oh")), Int49);
func9323(1);
return Null;
}
func9323(Int 0)
{
Int Int168;
Int Int169;
Int Int167;
Int Int170;
Int167 = System.getViewportLeft();
Int168 = System.getViewportTop();
Int169 = System.getViewportWidth();
Int170 = System.getViewportHeight();
if(Int166) {
func14767();
}
Int45 = 1;
System.setPrivateInt(( "winamp5"), ( String42 + ( "Maximized")), 1);
Layout40.resize(Int167, Int168, Int169, ( Int170 + Layout40.getSnapAdjustBottom()));
if(Int166) {
func9749();
}
return Null;
}
Layout40.onSnapAdjustChanged()
{
if(Int45) {
unknown 255;
0;
}
return Null;
}
func9570()
{
func14737();
Int45 = 0;
System.setPrivateInt(( "winamp5"), ( String42 + ( "Maximized")), 0);
Layout40.resize(Int46, Int47, Int48, Int49);
func9755();
return Null;
}
func9749()
{
return Null;
}
func9755()
{
return Null;
}
func9767()
{
ConfigItem ConfigItem218;
ConfigAttribute ConfigAttribute227;
ConfigItem ConfigItem215;
ConfigAttribute ConfigAttribute226;
ConfigAttribute ConfigAttribute233;
ConfigAttribute ConfigAttribute231;
ConfigItem ConfigItem223;
ConfigItem ConfigItem212;
ConfigItem ConfigItem209;
ConfigItem ConfigItem221;
ConfigItem ConfigItem200;
ConfigAttribute ConfigAttribute237;
ConfigItem ConfigItem206;
ConfigAttribute ConfigAttribute232;
ConfigItem ConfigItem203;
ConfigAttribute ConfigAttribute229;
ConfigItem ConfigItem225;
ConfigAttribute ConfigAttribute228;
ConfigItem200 = Config.newItem(( "Winamp\ Modern"), ( "\{26E26319\-AECA\-4433\-B8F1\-F4A5BF2A9ED5\}"));
ConfigItem203 = Config.newItem(( "Drawers"), ( "\{C338B30F\-2A04\-4b10\-871F\-4E9D52D62806\}"));
ConfigItem206 = Config.newItem(( "Menus"), ( "\{12ED320E\-6813\-45ac\-9F8E\-78EE5B2B5F6D\}"));
ConfigItem209 = Config.newItem(( "Main\ Windowshade\ Mode"), ( "\{58F07E21\-AE96\-4899\-B7BC\-3640B40029FB\}"));
ConfigItem212 = Config.newItem(( "Vis\ Buttons"), ( "\{D70E3ABF\-D2FF\-4b82\-9A70\-4B5DF1A5D942\}"));
ConfigItem215 = Config.newItem(( "Notifications"), ( "\{1AB968B3\-8687\-4a35\-BA70\-FCF6D92FB57F\}"));
ConfigItem218 = Config.newItem(( "Songticker"), ( "\{7061FDE0\-0E12\-11D8\-BB41\-0050DA442EF3\}"));
ConfigItem221 = Config.newItem(( "Hidden"), ( "\{E9C2D926\-53CA\-400f\-9A4D\-85E31755A4CF\}"));
ConfigItem223 = Config.getItem(( "\{1828D28F\-78DD\-4647\-8532\-EBA504B8FC04\}"));
ConfigItem225 = Config.getItem(( "\{6559CA61\-7EB2\-4415\-A8A9\-A2AEEF762B7F\}"));
ConfigAttribute226 = ConfigItem223.newAttribute(( "Winamp\ Modern"), ( ""));
ConfigAttribute226.setData(( "\{26E26319\-AECA\-4433\-B8F1\-F4A5BF2A9ED5\}"));
ConfigAttribute227 = ConfigItem200.newAttribute(( "Drawers"), ( ""));
ConfigAttribute227.setData(( "\{C338B30F\-2A04\-4b10\-871F\-4E9D52D62806\}"));
ConfigAttribute228 = ConfigItem200.newAttribute(( "Menus"), ( ""));
ConfigAttribute228.setData(( "\{12ED320E\-6813\-45ac\-9F8E\-78EE5B2B5F6D\}"));
ConfigAttribute229 = ConfigItem200.newAttribute(( "Main\ Windowshade\ Mode"), ( ""));
ConfigAttribute229.setData(( "\{58F07E21\-AE96\-4899\-B7BC\-3640B40029FB\}"));
ConfigAttribute231 = ConfigItem200.newAttribute(( "Vis\ Shortcut\ Button"), ( ""));
ConfigAttribute231.setData(( "\{D70E3ABF\-D2FF\-4b82\-9A70\-4B5DF1A5D942\}"));
ConfigAttribute232 = ConfigItem200.newAttribute(( "Notifications"), ( ""));
ConfigAttribute232.setData(( "\{1AB968B3\-8687\-4a35\-BA70\-FCF6D92FB57F\}"));
ConfigAttribute233 = ConfigItem200.newAttribute(( "Songticker"), ( ""));
ConfigAttribute233.setData(( "\{7061FDE0\-0E12\-11D8\-BB41\-0050DA442EF3\}"));
ConfigAttribute171 = ConfigItem203.newAttribute(( "Animate\ Video\/Vis\ Drawer\ \(disabled\ if\ opacity\ \<\ 100\%\)"), ( "0"));
ConfigAttribute172 = ConfigItem203.newAttribute(( "Animate\ Config\ Drawer"), ( "0"));
ConfigAttribute237 = ConfigItem203.newAttribute(( "sep1"), ( ""));
ConfigAttribute237.setData(( "\-"));
ConfigAttribute175 = ConfigItem203.newAttribute(( "Open\ Video\/Vis\ from\ the\ top"), ( "0"));
ConfigAttribute176 = ConfigItem203.newAttribute(( "Open\ Video\/Vis\ from\ the\ bottom"), ( "1"));
ConfigAttribute177 = ConfigItem203.newAttribute(( "Bypass\ setting\ to\ keep\ in\ screen"), ( "1"));
if(( ConfigAttribute175.getData() == ( "1"))) {
ConfigAttribute175.onDataChanged();
} else {
ConfigAttribute176.onDataChanged();
}
ConfigAttribute179 = ConfigItem206.newAttribute(( "Show\ Menus\ in\ Main\ Window"), ( "1"));
ConfigAttribute180 = ConfigItem206.newAttribute(( "Show\ Menus\ in\ Playlist\ Editor"), ( "1"));
ConfigAttribute181 = ConfigItem206.newAttribute(( "Show\ Menus\ in\ Media\ Library"), ( "1"));
ConfigAttribute237 = ConfigItem200.newAttribute(( "sep1"), ( ""));
ConfigAttribute237.setData(( "\-"));
ConfigAttribute173 = ConfigItem200.newAttribute(( "Detach\ Vis\ Window"), ( "0"));
ConfigAttribute174 = ConfigItem200.newAttribute(( "Detach\ Video\ Window"), ( "0"));
ConfigAttribute178 = ConfigItem225.newAttribute(( "Equalizer\ Alt\+G"), ( "0"));
ConfigAttribute237 = ConfigItem200.newAttribute(( "sep2"), ( ""));
ConfigAttribute237.setData(( "\-"));
ConfigAttribute185 = ConfigItem200.newAttribute(( "Enable\ Beat\ Visualization"), ( "1"));
ConfigAttribute182 = ConfigItem209.newAttribute(( "Link\ Position\ and\ Width"), ( "1"));
ConfigAttribute183 = ConfigItem209.newAttribute(( "Link\ Position\,\ Unlink\ Width"), ( "0"));
ConfigAttribute184 = ConfigItem209.newAttribute(( "Unlink\ Position\ and\ Width"), ( "0"));
ConfigAttribute187 = ConfigItem212.newAttribute(( "Open\ Context\ Menu"), ( "1"));
ConfigAttribute186 = ConfigItem212.newAttribute(( "Open\ Configuration"), ( "0"));
ConfigAttribute190 = ConfigItem215.newAttribute(( "Show\ always"), ( "0"));
ConfigAttribute189 = ConfigItem215.newAttribute(( "Show\ with\ windowshade\ and\ when\ minimized"), ( "0"));
ConfigAttribute188 = ConfigItem215.newAttribute(( "Show\ only\ when\ minimized"), ( "0"));
ConfigAttribute191 = ConfigItem215.newAttribute(( "Never\ show"), ( "1"));
ConfigAttribute237 = ConfigItem215.newAttribute(( "sep1"), ( ""));
ConfigAttribute237.setData(( "\-"));
ConfigAttribute195 = ConfigItem215.newAttribute(( "Disable\ in\ fullscreen"), ( "1"));
ConfigAttribute192 = ConfigItem221.newAttribute(( "Notifications\ fade\ in\ time"), ( "1000"));
ConfigAttribute193 = ConfigItem221.newAttribute(( "Notifications\ fade\ out\ time"), ( "5000"));
ConfigAttribute194 = ConfigItem221.newAttribute(( "Notifications\ display\ time"), ( "2000"));
ConfigAttribute196 = ConfigItem218.newAttribute(( "Enable\ Songticker\ scrolling"), ( "1"));
ConfigAttribute197 = ConfigItem218.newAttribute(( "Disable\ Songticker\ scrolling"), ( "0"));
return Null;
}
ConfigAttribute175.onDataChanged()
{
if(Int268) {
return Null;
}
if(( ConfigAttribute175.getData() == ( "0"))) {
ConfigAttribute175.setData(( "1"));
return Null;
}
Int268 = 1;
ConfigAttribute176.setData(( "0"));
ConfigAttribute175.setData(( "1"));
Int268 = 0;
return Null;
}
ConfigAttribute176.onDataChanged()
{
if(Int268) {
return Null;
}
if(( ConfigAttribute176.getData() == ( "0"))) {
ConfigAttribute176.setData(( "1"));
return Null;
}
Int268 = 1;
ConfigAttribute175.setData(( "0"));
ConfigAttribute176.setData(( "1"));
Int268 = 0;
return Null;
}
ConfigAttribute182.onDataChanged()
{
if(Int268) {
return Null;
}
if(( ConfigAttribute182.getData() == ( "0"))) {
ConfigAttribute182.setData(( "1"));
return Null;
}
Int268 = 1;
ConfigAttribute183.setData(( "0"));
ConfigAttribute184.setData(( "0"));
Int268 = 0;
return Null;
}
ConfigAttribute183.onDataChanged()
{
if(Int268) {
return Null;
}
if(( ConfigAttribute183.getData() == ( "0"))) {
ConfigAttribute183.setData(( "1"));
return Null;
}
Int268 = 1;
ConfigAttribute182.setData(( "0"));
ConfigAttribute184.setData(( "0"));
Int268 = 0;
return Null;
}
ConfigAttribute184.onDataChanged()
{
if(Int268) {
return Null;
}
if(( ConfigAttribute184.getData() == ( "0"))) {
ConfigAttribute184.setData(( "1"));
return Null;
}
Int268 = 1;
ConfigAttribute182.setData(( "0"));
ConfigAttribute183.setData(( "0"));
Int268 = 0;
return Null;
}
ConfigAttribute187.onDataChanged()
{
if(Int268) {
return Null;
}
if(( ConfigAttribute187.getData() == ( "0"))) {
ConfigAttribute187.setData(( "1"));
return Null;
}
Int268 = 1;
ConfigAttribute186.setData(( "0"));
Int268 = 0;
func15409();
return Null;
}
ConfigAttribute186.onDataChanged()
{
if(Int268) {
return Null;
}
if(( ConfigAttribute186.getData() == ( "0"))) {
ConfigAttribute186.setData(( "1"));
return Null;
}
Int268 = 1;
ConfigAttribute187.setData(( "0"));
Int268 = 0;
func15409();
return Null;
}
ConfigAttribute190.onDataChanged()
{
if(Int268) {
return Null;
}
if(( ConfigAttribute190.getData() == ( "0"))) {
ConfigAttribute190.setData(( "1"));
return Null;
}
Int268 = 1;
ConfigAttribute191.setData(( "0"));
ConfigAttribute189.setData(( "0"));
ConfigAttribute188.setData(( "0"));
Int268 = 0;
return Null;
}
ConfigAttribute191.onDataChanged()
{
if(Int268) {
return Null;
}
if(( ConfigAttribute191.getData() == ( "0"))) {
ConfigAttribute191.setData(( "1"));
return Null;
}
Int268 = 1;
ConfigAttribute190.setData(( "0"));
ConfigAttribute189.setData(( "0"));
ConfigAttribute188.setData(( "0"));
Int268 = 0;
return Null;
}
ConfigAttribute188.onDataChanged()
{
if(Int268) {
return Null;
}
if(( ConfigAttribute188.getData() == ( "0"))) {
ConfigAttribute188.setData(( "1"));
return Null;
}
Int268 = 1;
ConfigAttribute191.setData(( "0"));
ConfigAttribute189.setData(( "0"));
ConfigAttribute190.setData(( "0"));
Int268 = 0;
return Null;
}
ConfigAttribute189.onDataChanged()
{
if(Int268) {
return Null;
}
if(( ConfigAttribute189.getData() == ( "0"))) {
ConfigAttribute189.setData(( "1"));
return Null;
}
Int268 = 1;
ConfigAttribute191.setData(( "0"));
ConfigAttribute190.setData(( "0"));
ConfigAttribute188.setData(( "0"));
Int268 = 0;
return Null;
}
ConfigAttribute196.onDataChanged()
{
if(Int268) {
return Null;
}
if(( ConfigAttribute196.getData() == ( "0"))) {
ConfigAttribute196.setData(( "1"));
return Null;
}
Int268 = 1;
ConfigAttribute197.setData(( "0"));
Int268 = 0;
return Null;
}
ConfigAttribute197.onDataChanged()
{
if(Int268) {
return Null;
}
if(( ConfigAttribute197.getData() == ( "0"))) {
ConfigAttribute197.setData(( "1"));
return Null;
}
Int268 = 1;
ConfigAttribute196.setData(( "0"));
Int268 = 0;
return Null;
}
System.onScriptLoaded()
{
func9767();
Group272 = System.getScriptGroup();
Button279 = Group272.findObject(( "videoavs\.open"));
Button280 = Group272.findObject(( "videoavs\.close"));
Button281 = Group272.findObject(( "button\.vid\.max"));
Button282 = Group272.findObject(( "button\.vid\.restore"));
Layer287 = Group272.findObject(( "player\.main\.resizer"));
Layer288 = Group272.findObject(( "drawer\.resizer"));
Group273 = Group272.findObject(( "buttons\.video"));
Group274 = Group272.findObject(( "buttons\.vis"));
Group275 = Group272.findObject(( "buttons\.video\.detach"));
Group276 = Group272.findObject(( "buttons\.vis\.detach"));
Button283 = Group276.findObject(( "button\.vis\.detach"));
Button284 = Group275.findObject(( "button\.vid\.detach"));
Group277 = Group272.findObject(( "buttons\.video\.switchto"));
Group278 = Group272.findObject(( "buttons\.vis\.switchto"));
Button285 = Group278.findObject(( "button\.vis\.Switchto"));
Button286 = Group277.findObject(( "button\.vid\.Switchto"));
Layer289 = Group272.findObject(( "openclosehider"));
Layout269 = Group272.getParentLayout();
Container271 = Layout269.getContainer();
GuiObject290 = Group272.findObject(( "AVSGroup"));
GuiObject290.hide();
ConfigAttribute17 = ConfigAttribute175;
ConfigAttribute18 = ConfigAttribute171;
ConfigAttribute19 = ConfigAttribute177;
ConfigAttribute20 = ConfigAttribute173;
ConfigAttribute21 = ConfigAttribute174;
func242(Layout269, ( "VideoAVS"));
if(( ( ConfigAttribute173.getData() == ( "1")) && ( ConfigAttribute174.getData() == ( "1")))) {
Layer289.show();
} else {
Layer289.hide();
}
Int293 = 0;
return Null;
}
Layout269.onSetVisible(Boolean onoff)
{
if(( ! Int291)) {
Int291 = 1;
if(( ! Layout270)) {
Layout270 = Container271.getLayout(( "shade"));
}
func15409();
func15079();
}
return Null;
}
System.onScriptUnloading()
{
func780();
return Null;
}
func13979()
{
return 280;
}
func13991()
{
return 510;
}
func14003()
{
Component Component318;
Component318 = System.getScriptGroup().findObject(( "myviswnd"));
return Component318;
}
func14044()
{
Component Component320;
Component320 = System.getScriptGroup().findObject(( "myvideownd"));
return Component320;
}
func14085()
{
return Null;
}
func14091()
{
GuiObject290.hide();
return Null;
}
func14109()
{
Layer287.setXmlParam(( "resize"), ( "bottomright"));
Layer288.setXmlParam(( "resize"), ( "bottomright"));
Button279.hide();
Layout269.setXmlParam(( "minimum_h"), ( "380"));
GuiObject290.show();
return Null;
}
func14205()
{
Layer287.setXmlParam(( "resize"), ( "right"));
Layer288.setXmlParam(( "resize"), ( "right"));
Layout269.setXmlParam(( "minimum_h"), ( "280"));
Button279.show();
return Null;
}
func14289()
{
Group273.hide();
Group275.hide();
Group277.hide();
Group274.show();
Group276.show();
if(( ConfigAttribute174.getData() == ( "0"))) {
Group278.show();
}
return Null;
}
func14389()
{
Group274.hide();
Group276.hide();
Group278.hide();
return Null;
}
func14431()
{
Group274.hide();
Group276.hide();
Group278.hide();
Group273.show();
Group275.show();
if(( ConfigAttribute173.getData() == ( "0"))) {
Group277.show();
}
return Null;
}
func14531()
{
Group273.hide();
Group275.hide();
Group277.hide();
return Null;
}
func14573()
{
Group278.hide();
if(( ConfigAttribute173.getData() == ( "1"))) {
Layer289.show();
}
return Null;
}
func14625()
{
Group278.show();
Layer289.hide();
return Null;
}
func14655()
{
Group277.hide();
if(( ConfigAttribute174.getData() == ( "1"))) {
Layer289.show();
}
return Null;
}
func14707()
{
Group277.show();
Layer289.hide();
return Null;
}
func14737()
{
Button281.show();
Button282.hide();
return Null;
}
func14767()
{
Button282.show();
Button281.hide();
return Null;
}
func14797()
{
Button281.show();
Button282.hide();
return Null;
}
Button279.onLeftClick()
{
func2978();
return Null;
}
Button280.onLeftClick()
{
func3437();
return Null;
}
Button281.onLeftClick()
{
func9102();
return Null;
}
Button282.onLeftClick()
{
func9570();
return Null;
}
Button283.onLeftClick()
{
func6826();
return Null;
}
Button284.onLeftClick()
{
func6883();
return Null;
}
Button285.onLeftClick()
{
func6594();
return Null;
}
Button286.onLeftClick()
{
func6690();
return Null;
}
Layout269.onMove()
{
func15079();
return Null;
}
func15079()
{
if(func814()) {
if(( ! Int293)) {
Button280.setXmlParam(( "image"), ( "player\.button\.videoavs"));
Button280.setXmlParam(( "downimage"), ( "player\.button\.videoavs\.pressed"));
Button280.setXmlParam(( "hoverImage"), ( "player\.button\.videoavs\.hover"));
Button279.setXmlParam(( "image"), ( "player\.button\.videoavs\.up"));
Button279.setXmlParam(( "downimage"), ( "player\.button\.videoavs\.up\.pressed"));
Button279.setXmlParam(( "hoverImage"), ( "player\.button\.videoavs\.up\.hover"));
Int293 = 1;
}
} else {
if(Int293) {
Button279.setXmlParam(( "image"), ( "player\.button\.videoavs"));
Button279.setXmlParam(( "downimage"), ( "player\.button\.videoavs\.pressed"));
Button279.setXmlParam(( "hoverImage"), ( "player\.button\.videoavs\.hover"));
Button280.setXmlParam(( "image"), ( "player\.button\.videoavs\.up"));
Button280.setXmlParam(( "downimage"), ( "player\.button\.videoavs\.up\.pressed"));
Button280.setXmlParam(( "hoverImage"), ( "player\.button\.videoavs\.up\.hover"));
Int293 = 0;
}
}
return Null;
}
func15409()
{
Button Button337;
Button337 = System.getScriptGroup().findObject(( "button\.vis\.misc"));
if(Button337) {
if(( ConfigAttribute187.getData() == ( "1"))) {
Button337.setXmlParam(( "action"), ( "Vis_Menu"));
} else {
Button337.setXmlParam(( "action"), ( "Vis_Cfg"));
}
}
return Null;
}